// update element ui style 
@import './elementUi/index.scss';



// layouts 
@import './layouts/sideBar.scss';
@import './layouts/headerBar.scss';
@import './layouts/mainContent.scss';
@import './layouts/footerBar.scss';


body {
  height: 100%;
  color: $defaultFontColor ;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
  background: url('/static/img/body_bg.png') repeat fixed left top;
  line-height: 2;
}

html,body {
    height: 100%;
}

h1,h2,h3,h4,h5 {
  margin: 0;
}

* {
    margin: 0;
    padding: 0;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.clearfix{
    &:after {
        clear: both;
        height: 0;
        content: "";
        font-size: 0;
        line-height: 0;
    }
}



a,a i,button,input,textarea, {
  transition: .3s !important;
}
a,a:active{
    color: $mainBlue;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.cursor-pointer {
    cursor: pointer;
}

::selection {
    background: $fontDeepDark;
    color: #fff;
}




/* --------  */


.v-charts-data-empty {
    position: absolute;
    background: #fcfcfc;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    
    span {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        width: auto;
        height: auto;
        color: $fontGrey ;
        text-align: center;
        font-size: $fontMiddle;
        
        i {
            display: inline-block;
            font-size: 20px;
            margin-bottom: 20px;
        }
    }
}

.icon-loading {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
    animation: rotate 2.25s linear infinite;
    
    &:before {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }
}

@keyframes rotate{
    from{transform: rotate(0deg)}
    to{transform: rotate(359deg)}
}




body ::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 5px;
  height: 5px;
}

body ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0px;
}

body ::-webkit-scrollbar-thumb {
  cursor: pointer;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.25);
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

body ::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(0, 0, 0, 0.15);
}

body ::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 135, 139, 0.8);
}

/* Inverted UI */

body .ui.inverted::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

body .ui.inverted::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
}

body .ui.inverted::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(255, 255, 255, 0.15);
}

body .ui.inverted::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}
